package com.erp.produce.service;

import com.erp.common.service.BaseService;
import com.erp.produce.entity.Order;
import com.erp.stock.entity.RawMaterial;

import java.util.List;

public interface OrderService extends BaseService<Order> {
    List<Order> getOrderList();

    Boolean addOrder(Order order);

    Boolean saveProductionTechnology(Order order);

    List<String> calculateRawMaterialStock(Long orderId);

    Boolean changeStatus(int status,Long id);


    List<RawMaterial> getRMByOrderId(Long orderId);

}
